SetVariableValueRequest

data class SetVariableValueRequest(scopeNumber: Int, variableName: String, newValue: CallArgument, callFrameId: CallFrameId)

Represents request frame that can be used with Debugger#setVariableValue operation call.

Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.

See also

Constructors

SetVariableValueRequest
Link copied to clipboard
fun SetVariableValueRequest(scopeNumber: Int, variableName: String, newValue: CallArgument, callFrameId: CallFrameId)

Properties

callFrameId
Link copied to clipboard
val callFrameId: CallFrameId
Id of callframe that holds variable.
newValue
Link copied to clipboard
val newValue: CallArgument
New variable value.
scopeNumber
Link copied to clipboard
val scopeNumber: Int
0-based number of scope as was listed in scope chain.
variableName
Link copied to clipboard
val variableName: String
Variable name.

Sources

jvm source
Link copied to clipboard